package com.zhoutian.dao;

import com.github.pagehelper.Page;
import com.zhoutian.pojo.Member;
import com.zhoutian.pojo.Order;
import com.zhoutian.pojo.OrderManage;
import com.zhoutian.pojo.Setmeal;

import java.util.List;

public interface OrderManageDao {

    public List<Order> findByMemberId(Integer mid);
    public List<Member> findByNameOrPhoneNumber(String queryString);
    public Integer findSIdByOrderId(Integer oid);
    public Setmeal findBySetmealId(Integer sid);
    public Page<OrderManage> findOrderManage(String queryString);
    public void deleteById(Integer id);
    public void cancelById(Integer id);
    public List<Setmeal> findAllSetmeals();
    public String findMemberByPhoneNumber(String phoneNumber);


}
